Apache Spark Interview Questions and Answers
Question: Explain the difference between narrow and wide transformations in Spark.Answer: Narrow transformations involve operations where each input partition contributes to only one output partition. Wide transformations involve operations where multiple input partitions contribute to multiple output partitions.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.